import http from '@/util/http'
import qs from 'qs'

export function login (data) {
  return http.post('/login', qs.stringify(data))
}

export function logout () {
  return http.post('/logout')
}
